package com.zygh.policeasset.controller;

import com.zygh.policeasset.service.PurchaseProcessService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/PurchaseProcess"})
@Api(tags = {"采购审批流程"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/PurchaseProcessController.class */
public class PurchaseProcessController {
    @Autowired
    PurchaseProcessService purchaseProcessService;

    @RequestMapping(value = {"/"}, method = {RequestMethod.GET})
    @ApiOperation("获取审批流程查询")
    public Object findAll(@RequestParam("projectId") Integer projectId, @RequestParam("projectType") String projectType) {
        return this.purchaseProcessService.findAll(projectId, projectType);
    }
}